package com.cxf.cxfuserone;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//@EnableEurekaClient
@EnableFeignClients
@EnableHystrix
@EnableCircuitBreaker
@SpringCloudApplication
@EnableDiscoveryClient
public class CxfUserOneApplication {

    public static void main(String[] args) {
        SpringApplication.run(CxfUserOneApplication.class, args);
    }

}
